package com.caifu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lyf
 * @since 2020-11-20
 */
public class YlLaboratoryInspect extends Model<YlLaboratoryInspect> {

    private static final long serialVersionUID = 1L;

    /**
     * 批次id
     */
    private String batchNo;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 情况类型
     */
    private String type;

    /**
     * 情况说明
     */
    private String text;

    /**
     * 排序
     */
    private Integer sort;

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "YlLaboratoryInspect{" +
        "batchNo=" + batchNo +
        ", id=" + id +
        ", type=" + type +
        ", text=" + text +
        ", sort=" + sort +
        "}";
    }
}
